The Recursive Structure of Some Ordering Problems

نویسنده

  • Mike D. Atkinson
چکیده

Some classical ordering problems (sorting, finding the maximum, finding the maximum and the minimum, finding the largest and the next largest, merging, and finding the median) are considered from a recursive viewpoint. If X(n) denotes an instance of size n of any one of these problems then X(n) can be solved by finding the solution to a number ~(n, k) of problems X(k) for some fixed k; ~(n, k) is called the relative complexity. Upper and lower bounds on the relative complexity are found. For the problem of finding the maximum, finding the maximum and the minimum, and finding the largest and the next largest these bounds are optimal. Divide and conquer is one of the most useful paradigms in algorithm design. One of its key aspects is the technique of solving a problem X(n), of size n, by making use of solutions to problems X(k) with k < n; thus divide and conquer algorithms are applicable for those problems whose solution can be expressed recursively. We shall investigate, for several classical ordering problems X(n), the number of solutions to problems X(r) with r bounded by some fixed k, needed to solve X(n). In all the problems that we consider X(2) will be the problem of comparing two numbers. Our results reduce to known ones on the number of comparisons in the case k = 2. In various degrees of detail we shall consider the following problems: 1. A(n): sort n elements into ascending order, 2. B(n): find the maximum in a set of n elements, 3. C(n): find the maximum and the minimum in a set of n elements, 4. D(n): find the largest and the next largest in a set of n elements, 5. E(n): merge two sorted lists of length n/2, 6. F(n): find the medians in a set of n elements. All of these problems have traditionally been studied for their worst case comparison complexity and substantial progress has been made on all of them. In fact, apart

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A new approach to fuzzy quantities ordering based on distance method and its applications for solving fuzzy linear programming

Many ranking methods have been proposed so far. However, there is yet no method that can always give a satisfactory solution to every situation; some are counterintuitive, not discriminating; some use only the local information of fuzzy values; some produce different ranking for the same situation. For overcoming the above problems, we propose a new method for ranking fuzzy quantities based on ...

متن کامل

Restricting the parameter set of the Pascoletti-Serafini scalarization

‎A common approach to determine efficient solutions of a multiple objective optimization problem‎ ‎is reformulating it to a parameter dependent scalar optimization problem‎. ‎This reformulation is called scalarization approach‎. Here, a well-known scalarization approach named Pascoletti-Serafini scalarization is considered‎. First, some difficulties of this scalarization are discussed and then ...

متن کامل

Some New Results on Stochastic Orderings between Generalized Order Statistics

In this paper we specify the conditions on the parameters of pairs of gOS’s under which the corresponding generalized order statistics are ordered according to usual stochastic ordering, hazard rate ordering, likelihood ratio ordering and dispersive ordering. We consider this problem in one-sample as well as two-sample problems. We show that some of the results obtained by Franco et al. ...

متن کامل

A revisit of a mathematical model for solving fully fuzzy linear programming problem with trapezoidal fuzzy numbers

In this paper fully fuzzy linear programming (FFLP) problem with both equality and inequality constraints is considered where all the parameters and decision variables are represented by non-negative trapezoidal fuzzy numbers. According to the current approach, the FFLP problem with equality constraints first is converted into a multi–objective linear programming (MOLP) problem with crisp const...

متن کامل

Value Elimination: Bayesian Interence via Backtracking Search

We present Value Elimination, a new algorithm for Bayesian Inference. Given the same variable ordering information, Value Elimination can achieve performance that is within a constant factor of variable elimination or recursive conditioning, and on some problems it can perform exponentially better, irrespective of the variable ordering used by these algorithms. Value Elimination’s other feature...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • BIT

دوره 31  شماره 

صفحات  -

تاریخ انتشار 1991